package com.sunyur.tailor.channel.service.inner.contract.service;

import com.sunyur.tailor.channel.common.middle.base.ChannelListResult;
import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.service.inner.contract.model.ContractCapInfoModel;
import com.sunyur.tailor.channel.service.inner.contract.param.ContractCapCreateParam;
import com.sunyur.tailor.channel.service.inner.contract.param.ContractCapUpdateParam;
import com.sunyur.tailor.channel.service.inner.contract.param.GetContractInfoParam;

import java.util.List;

/**
 * @Author: HuBaoding
 * @Description: 合同帽相关Service
 * @Date: Created in 16:37 2021/9/7
 */
public interface ContractCapService {
    /**
     * 批量创建合同帽
     * @param param
     * @return
     */
    ChannelResult<Boolean> createBatch(List<ContractCapCreateParam> param);

    /**
     * 修改合同帽
     * @param param
     * @return
     */
    ChannelResult<Boolean> update(ContractCapUpdateParam param);

    /**
     * 批量获取合同帽信息
     * @param param
     * @return
     */
    ChannelListResult<ContractCapInfoModel> listContractCapByContractCodes(GetContractInfoParam param);
}
